package com.zlf.feign;

import com.zlf.po.CommonResult;
import org.springframework.stereotype.Component;

@Component
public class PointFeignClientCallBack implements PointFeignClient{

    @Override
    public CommonResult initPoint(String userId) {
        return new CommonResult(403,"fegin触发了熔断降级",null);    }
    @Override
    public CommonResult addPoint(String userId, Integer amount) {
        return new CommonResult(403,"fegin触发了熔断降级",null);    }
}
